package o;

import android.content.res.ColorStateList;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.PorterDuff.Mode;
import android.graphics.Rect;
import android.graphics.Region;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.Drawable.Callback;
import androidx.annotation.RestrictTo;
import androidx.annotation.RestrictTo.d;

@RestrictTo({d.ˊ})
public class aq extends Drawable implements Callback {
    private Drawable ˋ;

    public aq(Drawable drawable) {
        ˊ(drawable);
    }

    public void draw(Canvas canvas) {
        this.ˋ.draw(canvas);
    }

    protected void onBoundsChange(Rect rect) {
        this.ˋ.setBounds(rect);
    }

    public void setChangingConfigurations(int i) {
        this.ˋ.setChangingConfigurations(i);
    }

    public int getChangingConfigurations() {
        return this.ˋ.getChangingConfigurations();
    }

    public void setDither(boolean z) {
        this.ˋ.setDither(z);
    }

    public void setFilterBitmap(boolean z) {
        this.ˋ.setFilterBitmap(z);
    }

    public void setAlpha(int i) {
        this.ˋ.setAlpha(i);
    }

    public void setColorFilter(ColorFilter colorFilter) {
        this.ˋ.setColorFilter(colorFilter);
    }

    public boolean isStateful() {
        return this.ˋ.isStateful();
    }

    public boolean setState(int[] iArr) {
        return this.ˋ.setState(iArr);
    }

    public int[] getState() {
        return this.ˋ.getState();
    }

    public void jumpToCurrentState() {
        gg.ˎ(this.ˋ);
    }

    public Drawable getCurrent() {
        return this.ˋ.getCurrent();
    }

    public boolean setVisible(boolean z, boolean z2) {
        return super.setVisible(z, z2) || this.ˋ.setVisible(z, z2);
    }

    public int getOpacity() {
        return this.ˋ.getOpacity();
    }

    public Region getTransparentRegion() {
        return this.ˋ.getTransparentRegion();
    }

    public int getIntrinsicWidth() {
        return this.ˋ.getIntrinsicWidth();
    }

    public int getIntrinsicHeight() {
        return this.ˋ.getIntrinsicHeight();
    }

    public int getMinimumWidth() {
        return this.ˋ.getMinimumWidth();
    }

    public int getMinimumHeight() {
        return this.ˋ.getMinimumHeight();
    }

    public boolean getPadding(Rect rect) {
        return this.ˋ.getPadding(rect);
    }

    public void invalidateDrawable(Drawable drawable) {
        invalidateSelf();
    }

    public void scheduleDrawable(Drawable drawable, Runnable runnable, long j) {
        scheduleSelf(runnable, j);
    }

    public void unscheduleDrawable(Drawable drawable, Runnable runnable) {
        unscheduleSelf(runnable);
    }

    protected boolean onLevelChange(int i) {
        return this.ˋ.setLevel(i);
    }

    public void setAutoMirrored(boolean z) {
        gg.ˏ(this.ˋ, z);
    }

    public boolean isAutoMirrored() {
        return gg.ˊ(this.ˋ);
    }

    public void setTint(int i) {
        gg.ॱ(this.ˋ, i);
    }

    public void setTintList(ColorStateList colorStateList) {
        gg.ॱ(this.ˋ, colorStateList);
    }

    public void setTintMode(Mode mode) {
        gg.ˋ(this.ˋ, mode);
    }

    public void setHotspot(float f, float f2) {
        gg.ˋ(this.ˋ, f, f2);
    }

    public void setHotspotBounds(int i, int i2, int i3, int i4) {
        gg.ˏ(this.ˋ, i, i2, i3, i4);
    }

    public Drawable ˋ() {
        return this.ˋ;
    }

    public void ˊ(Drawable drawable) {
        if (this.ˋ != null) {
            this.ˋ.setCallback(null);
        }
        this.ˋ = drawable;
        if (drawable != null) {
            drawable.setCallback(this);
        }
    }
}
